﻿<!DOCTYPE html>
<html lang="en">

<head>
	<title>规则校验demo</title>
	<meta charset="UTF-8" />
	<meta name="viewport" content="width=device-width, initial-scale=1.0" />
	<link rel="stylesheet" href="css/bootstrap.min.css" />
	<link rel="stylesheet" href="css/bootstrap-responsive.min.css" />
	<link rel="stylesheet" href="css/matrix-style.css" />
	<link rel="stylesheet" href="css/matrix-media.css" />
	<link href="font-awesome/css/font-awesome.css" rel="stylesheet" />
	<script src="js/jquery.min.js"></script>
	<script src="js/datainit.js"></script>
</head>

<body>
	<!--Header-part-->
	<div id="header">
		<h1>
			<a href="">规则校验demo</a>
		</h1>
	</div>
	<!--close-Header-part-->

	<!--top-Header-menu-->
	<div id="search" class="navbar navbar-inverse">
		<ul class="nav">
			<li class="dropdown" id="profile-messages">
				<a title="" href="#" data-toggle="dropdown" data-target="#profile-messages" class="dropdown-toggle">
					<i class="icon icon-user"></i>&nbsp;
					<span class="text">欢迎你，admin</span>&nbsp;
					<b class="caret"></b>
				</a>
			</li>

			<li class="">
				<a title="" href="login.html">
					<i class="icon icon-share-alt"></i>
					<span class="text">&nbsp;退出系统</span>
				</a>
			</li>
		</ul>
	</div>

	<!--sidebar-menu-->
	<div id="sidebar" style="OVERFLOW-Y: auto; OVERFLOW-X:hidden;">
		<ul>
			<li class="submenu active">
				<a class="menu_a" link="page/welcome.html">
					<i class="icon icon-home"></i>
					<span>首页</span>
				</a>
			</li>
			<li class="submenu">
				<a class="menu_a" link="page/regex_list.html">
					<i class="icon icon-home"></i>
					<span>正则管理</span>
				</a>
			</li>
			<li class="submenu ">
				<a class="menu_a" link="page/function_list.html">
					<i class="icon icon-home"></i>
					<span>函数管理</span>
				</a>
			</li>
			<li class="submenu" >
				<a class="menu_a" link="page/ruleConfiguration.html">
					<i class="icon icon-table"></i>
					<span>规则配置</span>
				</a>
			</li>
			<li class="submenu" >
				<a class="menu_a" link="page/rule_list.html">
					<i class="icon icon-table"></i>
					<span>规则配置2</span>
				</a>
			</li>
			<li class="submenu" >
				<a class="menu_a" link="page/resultsDisplay.html">
					<i class="icon icon-stop"></i>
					<span>校验结果展示</span>
				</a>
				</li>
				<li class="submenu"> 
					<a href="#">
							<i class="icon icon-info-sign"></i> 
							<span>错误页面</span> 
							<span class="label label-important">4</span>
					</a>
					<ul>
							<li><a class="menu_a" link="error403.html"><i class="icon icon-caret-right"></i>Error 403</a></li>
							<li><a class="menu_a" link="error404.html"><i class="icon icon-caret-right"></i>Error 404</a></li>
							<li><a class="menu_a" link="error405.html"><i class="icon icon-caret-right"></i>Error 405</a></li>
							<li><a class="menu_a" link="error500.html"><i class="icon icon-caret-right"></i>Error 500</a></li>
					</ul>
			</li>
		</ul>
	</div>
	<!--sidebar-menu-->

	<!--main-container-part-->
	<div id="content">
		<!--breadcrumbs-->
		<div id="content-header">
			<div id="breadcrumb">
				<a href="index.html" title="Go to Home" class="tip-bottom">
					<i class="icon-home"></i> Home</a>
			</div>
		</div>
		<!--End-breadcrumbs-->
		<iframe  id="iframe-main" frameborder='0' style="width:100%;"></iframe>
	</div>
	<!--end-main-container-part-->

	<script src="js/excanvas.min.js"></script>
	<script src="js/jquery.ui.custom.js"></script>
	<script src="js/bootstrap.min.js"></script>
	<script src="js/nicescroll/jquery.nicescroll.min.js"></script>
	<script src="js/matrix.js"></script>


	<script type="text/javascript">

		//初始化相关元素高度
		function init() {
			$("body").height($(window).height() - 80);
			$("#iframe-main").height($(window).height() - 90);
			$("#sidebar").height($(window).height() - 50);
		}

		$(function () {
			init();
			$(window).resize(function () {
				init();
			});
		});

		// This function is called from the pop-up menus to transfer to
		// a different page. Ignore if the value returned is a null string:
		function goPage(newURL) {
			// if url is empty, skip the menu dividers and reset the menu selection to default
			if (newURL != "") {
				// if url is "-", it is this page -- reset the menu:
				if (newURL == "-") {
					resetMenu();
				}
				// else, send page to designated URL            
				else {
					document.location.href = newURL;
				}
			}
		}

		// resets the menu selection upon entry to this page:
		function resetMenu() {
			document.gomenu.selector.selectedIndex = 2;
		}

    // uniform使用示例：
    // $.uniform.update($(this).attr("checked", true));
	</script>
</body>

</html>